﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using IHISCETeim.Library;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using IHISCETeim.Model;


namespace IHISCETeim.DAL
{
    /// <summary>
    /// 4.销售类型配置表(FTradeSaleTypeConfig)
    /// </summary>
    public class FTradeSaleTypeConfigDAL
    {
        /// <summary>
        /// 获取所有的销售类型配置表信息
        /// </summary>
        /// <returns></returns>
        public static IDataReader GetAll()
        {
            Database DB = DatabaseFactory.CreateDatabase();
            DbCommand dbCommand = DB.GetStoredProcCommand("FTradeSaleTypeConfig_GetAll");
            return DB.ExecuteReader(dbCommand);
        }
    }
}
